package fzrj.qkl.demo.service.backend;

import org.fisco.bcos.sdk.transaction.model.exception.ContractException;

import java.math.BigInteger;

public interface CarrierBackendService {


    // 注册
    boolean addCarrier(String name,String info);

    // 验证
    boolean checkUser(int id) throws ContractException;

    // 查询可操作的物流信息列表
    BigInteger[] getShipmentsByCarrier(int id) throws ContractException;
}
